def run(params:list[str]):
    from ApiTools import apiTools,apiBase
    try:
        # 工具目录
        tlpath=apiBase.argv(params,1,'$PROJECT_HOME/88api/langgraph')
        # 提示词
        prompt=apiBase.argv_json(params,2,{"aggregate": [], "curNodeName": "bc"})
        # json文件
        grp = apiTools.load_tol()
        graph=grp.load_hpl(tlpath)
        res=graph.invoke(prompt)
        #res=graph.invoke({"aggregate": [], "curNodeName": "bc"})
        return res
    except Exception as e:
        return f"function error:{e}"